import React from 'react';

import { type HighlightProps, Highlight } from '@mantine/core';
import classNames from 'classnames';

type ExtendedHighlightProps = HighlightProps;
export const NHighlight = React.memo(({ className, ...restProps }: ExtendedHighlightProps) => {
  {
    return <Highlight className={classNames(className)} {...restProps} />;
  }
});
